package com.robot.dao;

import com.robot.model.BuildMetric;
import com.robot.model.BuildTestDo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: li
 * Date: 2019/11/24
 * Time: 13:44
 * PROJECT：robot
 * PACKAGE: com.robot
 *
 * @author:55324936@qq.com To change this template use File | Settings | File Templates.
 */
@Mapper
public interface BuildTestMapper {

    public int addBuildTest(BuildTestDo buildTestDo);

    public BuildTestDo buildTestById(Integer id);

    public int modifyBuildTest(BuildTestDo buildTestDo);

    public BuildTestDo lastBuild(Integer projectId);
    
    public List<BuildTestDo> lastBuildTestByProjectId(Integer projectId);

    public List<BuildMetric>  buildDayMetric();
}
